package com.zuoye;

public class TestTeacher {
    public static void main(String[] args) {
        Teacher tea =new Teacher();
        tea.setName("铁头");
        tea.setNum(77);
        tea.teach();

        Teacher tea1=new Teacher("铁头",77);
        tea1.teach();
    }
}
